package com.hyt.it.ogt.ykcj.domain.vo;

import java.util.HashMap;
import java.util.Map;

/**
 * 考试导入
 * @author Dell
 *
 */
public class ExamInfoImportVo {

	private final static String[] EXCELHEADS = new String[]{"考试名称", "考试年份", "考试频次","科目名称", "试卷满分", "考试日期", "考试时间",  "合格标准","成绩有效期"};

	private String examName;
	private String year;
	private String examNumberTimes;  //考试频次
	private String subjectName;
	private String paperFullMarks; //满分试卷  BigDecimal  
	private String examStartDay;   //考试日期
	private String examTimeStr;    //考试时间段,例 09:00-15:30
	private String examDayStartTime;   //开始时间
	private String examDayEndTime;     //结束时间
	private String eligibilityCriteria; //合格标准
	private String effectiveDate;      //成绩有效期
	private Integer batchno;            //批次
	private Integer index;              //序号

	private String examConfigId;        //考试Id
	private String examSubjectNameId;   //科目名称Id

	/** 错误信息 */
	private String errorMsg;

	/**
	 * EXCEL列数据与数据对象进行KEY对应
	 * @return KEY对应集
	 */
	public static Map<String, String> getExcelHeadKeyMap(){
		Map<String, String> headerMap = new HashMap<>();
		headerMap.put(EXCELHEADS[0], "examName");
		headerMap.put(EXCELHEADS[1], "year");
		headerMap.put(EXCELHEADS[2], "examNumberTimes");
		headerMap.put(EXCELHEADS[3], "subjectName");
		headerMap.put(EXCELHEADS[4], "paperFullMarks");
		headerMap.put(EXCELHEADS[5], "examStartDay");
		headerMap.put(EXCELHEADS[6], "examTimeStr");
		headerMap.put(EXCELHEADS[7], "eligibilityCriteria");
		headerMap.put(EXCELHEADS[8], "effectiveDate");
		headerMap.put(EXCELHEADS[9], "batchno");
		return headerMap;
	}

	public String getExamSubjectNameId() {
		return examSubjectNameId;
	}

	public void setExamSubjectNameId(String examSubjectNameId) {
		this.examSubjectNameId = examSubjectNameId;
	}
	public String getExamConfigId() {
		return examConfigId;
	}
	public void setExamConfigId(String examConfigId) {
		this.examConfigId = examConfigId;
	}
	public Integer getIndex() {
		return index;
	}
	public void setIndex(Integer index) {
		this.index = index;
	}
	public String getExamName() {
		return examName;
	}
	public void setExamName(String examName) {
		this.examName = examName;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getExamNumberTimes() {
		return examNumberTimes;
	}
	public void setExamNumberTimes(String examNumberTimes) {
		this.examNumberTimes = examNumberTimes;
	}
	public String getSubjectName() {
		return subjectName;
	}
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
	public String getPaperFullMarks() {
		return paperFullMarks;
	}
	public void setPaperFullMarks(String paperFullMarks) {
		this.paperFullMarks = paperFullMarks;
	}
	public String getExamStartDay() {
		return examStartDay;
	}
	public void setExamStartDay(String examStartDay) {
		this.examStartDay = examStartDay;
	}
	public String getExamTimeStr() {
		return examTimeStr;
	}
	public void setExamTimeStr(String examTimeStr) {
		this.examTimeStr = examTimeStr;
	}
	public String getExamDayStartTime() {
		return examDayStartTime;
	}
	public void setExamDayStartTime(String examDayStartTime) {
		this.examDayStartTime = examDayStartTime;
	}
	public String getExamDayEndTime() {
		return examDayEndTime;
	}
	public void setExamDayEndTime(String examDayEndTime) {
		this.examDayEndTime = examDayEndTime;
	}
	public String getEligibilityCriteria() {
		return eligibilityCriteria;
	}
	public void setEligibilityCriteria(String eligibilityCriteria) {
		this.eligibilityCriteria = eligibilityCriteria;
	}
	public String getEffectiveDate() {
		return effectiveDate;
	}
	public void setEffectiveDate(String effectiveDate) {
		this.effectiveDate = effectiveDate;
	}
	public Integer getBatchno() {
		return batchno;
	}
	public void setBatchno(Integer batchno) {
		this.batchno = batchno;
	}
	public String getErrorMsg() { return errorMsg; }
	public void setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; }
}

